import request from "@/utils/request";

// 权益套餐列表
export function getAppQyPackageList(query) {
  return request({
    url: "/app/getAppQyPackageList",
    method: "get",
    params: query,
  });
}

// 权益套餐列表-查询单条
export function getAppQyPackageInfo(query) {
  return request({
    url: "/app/getAppQyPackageInfo",
    method: "get",
    params: query,
  });
}

// 权益套餐列表-新增

export function addAppQyPackage(data) {
  return request({
    url: "/app/addAppQyPackage",
    method: "post",
    data,
  });
}

// 权益套餐列表-编辑

export function updateAppQyPackage(data) {
  return request({
    url: "/app/updateAppQyPackage",
    method: "post",
    data,
  });
}

// 权益套餐列表-删除

export function deleteAppQyPackage(data) {
  return request({
    url: "/app/deleteAppQyPackage",
    method: "post",
    data,
  });
}

// 权益套餐列表-同步套餐

export function syncQyPackage(data) {
  return request({
    url: "/app/syncQyPackage",
    method: "post",
    data,
  });
}
